/************************************************************************
 * The code is owned by mainframer.cn and Shang Tao
 * Without aproval of mainframer.cn and Shang Tao, removing the copyright
 * infomation is regarded as invassion of proprietary copyright
 ***********************************************************************/
package com.mr.qa.util;

/**
 * create a lowercase String with fixed length
 */

public class RandomUtil
{
    public RandomUtil()
    {
    }
    /**
     * create a string whose length is 6
     * @return
     */
    public static String getRandomString()
    {
        String randomString = ""+Math.random();
        //System.out.println(randomString);
        randomString = randomString.substring(2,8);
        return randomString;
    }
    public static void main(String str[])
    {
        System.out.println(getRandomString());
    }
}
